using System.Collections.Generic;
using Webshop20.Domain.Catalog.Core;

namespace Webshop20.UnitTests.Builder
{
    public class BuildVisitor
    {
        private ShoppingCart cart = new BuildShoppingCart().WithCartItems(new List<ShoppingCartItem>());
        private int id = 123;
        

        public static implicit operator Visitor(BuildVisitor buildVisitor)
        {
            return buildVisitor.Build();
        }

        private Visitor Build()
        {
            return new Visitor(cart, id);
        }
    }
}